package com.liuxvru.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liuxvru.project.domain.Release;

import java.util.List;

/**
 * 发布Service接口
 * 
 * @author liuxvru
 * @date 2025-02-10
 */
public interface IReleaseService extends IService<Release>
{
    /**
     * 查询发布列表
     * 
     * @param release 发布
     * @return 发布集合
     */
    public List<Release> selectReleaseList(Release release);

    int add(Long projectId, Release release);

    int edit(Long projectId, Release release);

    int addSprint(Long releaseIds, Long sprintId);

    int removeSprint(Long releaseIds, Long sprintId);


}
